package com.ysstech.valuation.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ysstech.valuation.entity.Valuation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lishuangliang
 * @since 2021-05-11
 */
@Component
public interface ValuationMapper extends BaseMapper<Valuation> {


    /**
     * 查询估值表表信息
     *
     * @param wrapper
     * @return
     */
    IPage<Valuation> queryValuation(IPage<Valuation> page, @Param(Constants.WRAPPER) QueryWrapper<Valuation> wrapper);


    /**
     * 查询估值信息
     *
     * @param wrapper
     * @return
     */
    List<Valuation> queryValuation(@Param(Constants.WRAPPER) QueryWrapper<Valuation> wrapper);
}
